package pcjavanet.mobilesell.model;

import java.util.Date;

 import pcjavanet.mobilesell.model.Department;

public class Employee {
    private Integer dbid;

    private String name;

    private String password;

    private Integer refDepartmentId;
    
    private   java.lang.Integer refShopId ;
    
    private Date birthday;

    private String sex;

    private String hometown;

    private String tele;

    private String mobile;

    private String status;

    private Date createDate;

    private Shop shop = null;
    private Department department = null;
    public void setDepartment( Department department ){
        this.department=department;
    }
    public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
	public java.lang.Integer getRefShopId() {
		return refShopId;
	}
	public void setRefShopId(java.lang.Integer refShopId) {
		this.refShopId = refShopId;
	}
	public Department getDepartment( ){
    	return this.department;
    }
    public Integer getDbid() {
        return dbid;
    }

    public void setDbid(Integer dbid) {
        this.dbid = dbid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getRefDepartmentId() {
        return refDepartmentId;
    }

    public void setRefDepartmentId(Integer refDepartmentId) {
        this.refDepartmentId = refDepartmentId;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown == null ? null : hometown.trim();
    }

    public String getTele() {
        return tele;
    }

    public void setTele(String tele) {
        this.tele = tele == null ? null : tele.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
